package com.crissy.datamasking.mapper;

import com.crissy.datamasking.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Crissy-月下闲人
 * @since 2024-04-24
 */
public interface UserMapper extends BaseMapper<User> {

    User toLogin(String username, String password);

    boolean userExists(String username);
}
